其實筆者剛裝好 quasar cli 第一件事情是...
想辦法怎麼關掉eslint
直接先說最快的解法
在 eslintignore 加入 \*\*\/\*
為什麼我要關掉 eslint, 我們來看看國外鄉民怎麼說
鄉民A:
Man, that tab and space restriction is brutal.....
鄉民B:
ESLINT is the worst thing to have ever happened since WW2, I think there should be an option to wipe it out entirely. I spent more time counting spaces and tabs than coding. Peter's answer finally did the trick.
資深工程師A:
-- So what do you do for living?
-- I count spaces, position parenthesis and check for trailing commas all day long
剛踏入前端的新手A:
Eslint is fine, what really sucks here is the retarded who came out with all these stupid rules, like no spaces before function parenthesis and trailing comas EVERYWHERE. FFS!
節錄自
如果有人看到這的話, 其實以上內容看看笑笑就好, 筆者也還沒認真去比較 eslint 的優點/缺點, 等有時間的時候再來認真研究研究!